<?php

namespace Database\Seeders;

use Illuminate\Database\Seeder;
use App\Models\UserCenter;
use Illuminate\Support\Facades\DB;

class DatabaseSeeder extends Seeder
{
    /**
     * Seed the application's database.
     *
     * @return void
     */
    public function run()
    {
        for ($i=1; $i<=5*2000; $i++)
        {
            echo "数字为 " . $i . PHP_EOL;
            echo "内存 " . memory_get_usage(). PHP_EOL;
            $this->call([
                UserCenterSeeder::class,
            ]);
        }
        // \App\Models\User::factory(10)->create();
    }
}
